//
//  RepAreaCell.swift
//  PropertyCommunity
//
//  Created by benwang on 2021/6/28.
//

import UIKit

class RepairOrderAreaCell: UITableViewCell {

  override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
    super.init(style: style, reuseIdentifier: reuseIdentifier)

    contentView.backgroundColor = UIColor(hex: 0xFAFAFA)

    let vi = R.nib.repairOrderAreaView(owner: self)!
    contentView.addSubview(vi)

    vi.snp.makeConstraints { make in
      make.edges.equalToSuperview()
        .inset(UIEdgeInsets(top: 8, left: 0, bottom: 0, right: 0))
    }
  }

  required init?(coder: NSCoder) {
    fatalError("init(coder:) has not been implemented")
  }

}
